﻿using System;
using Lextm.SharpSnmpLib;
using System.Net;

namespace SManage.LibExtension
{
    public static class StringExtension
    {
        public static ObjectIdentifier ToOid(this String oidString) {
            return new ObjectIdentifier(oidString);
        }

        public static IPAddress ToIPAddress(this String ipString) {
            return IPAddress.Parse(ipString);
        }
    }
}
